<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="lib/vue.global.js"></script>
    <link rel="stylesheet" href="style.css" />
    <title>Template 标签</title>
  </head>
  <body>
    <div id="app">
      <div>
        <div v-if="show" class="content">
          <h1>标题</h1>
          <p>这是一个段落</p>
        </div>
        <button @click="show = !show">切换显示</button>
      </div>
    </div>
    <script src="index.js"></script>
  </body>
</html>
